package com.zz.tijian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName setmeal
 */
@TableName(value ="setmeal")
@Data
@ApiModel(description = "套餐信息")
public class Setmeal implements Serializable {
    /**
     * 套餐编号
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "套餐编号", example = "1")
    private Integer smId;

    /**
     * 套餐名称
     */
    @ApiModelProperty(value = "套餐名称")
    private String name;

    /**
     * 套餐类型（1：男士餐套；0：女士套餐）
     */
    @ApiModelProperty(value = "套餐类型（1：男士餐套；0：女士套餐）", example = "1")
    private Integer type;

    /**
     * 套餐价格
     */
    @ApiModelProperty(value = "套餐价格", example = "100")
    private Integer price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
